using System;

namespace InfoJetSoft.Service.ManagedCode
{
	/// <summary>
	/// Summary description for DocActionEvent.
	/// </summary>
	public class DocActionEvent : Microsoft.Office.Interop.InfoPath.SemiTrust.DocActionEvent
	{
		private Microsoft.Office.Interop.InfoPath.SemiTrust.XDocument xDocument;
		private bool returnStatus;
		private Microsoft.Office.Interop.InfoPath.SemiTrust.IXMLDOMNode source;
		
		public DocActionEvent( Microsoft.Office.Interop.InfoPath.SemiTrust.XDocument xDoc, Microsoft.Office.Interop.InfoPath.SemiTrust.IXMLDOMNode sourceNode )
		{
			this.xDocument = xDoc;
			this.source = sourceNode;
		}

		public Microsoft.Office.Interop.InfoPath.SemiTrust.XDocument XDocument 
		{ 
			get
			{
				return this.xDocument;
			}
		}

		public bool ReturnStatus 
		{ 
			get
			{
				return this.returnStatus;
			}

			set
			{
				this.returnStatus = value;
			}

		}

		public Microsoft.Office.Interop.InfoPath.SemiTrust.IXMLDOMNode Source 
		{ 
			get
			{
				return this.source;
			}
		}


	}
}
